﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QLLUONG.DTO
{
    class User
    {
        private String username, pass;

        public String Pass
        {
            get { return pass; }
            set { pass = value; }
        }

        public String Username
        {
            get { return username; }
            set { username = value; }
        }
        int admin;

        public int Admin
        {
            get { return admin; }
            set { admin = value; }
        }
        public User()
        {

        }
        public User(String _user, String _pass)
        {
            this.username = _user;
            this.pass = _pass;
            this.admin = 0;
        }
        public User(String _user, String _pass, int admin)
        {
            this.username = _user;
            this.pass = _pass;
            this.admin = admin;
        }
    }
}
